package beans;


import java.util.List;
import entity.User;
import classes.IndexClass;

public class IndexBean extends GeneralBean {

	private IndexClass indexClass;
	
	public IndexBean() {
		this.indexClass = new IndexClass();
	}
	
	public List<User> getPersons() {
		return this.indexClass.getPersons();
	}
	
	public void getDelPerson() {
		//String[] ids = getStringFromParam("ids").split(",");
		indexClass.delPersons(getStringFromParam("ids"));
	}
}
